﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 林跃彬
{
    class Program
    {
        static void Main(string[] args)
        {
            Hashtable kk = new Hashtable();

            kk.Add(1, "弼马温");
            kk.Add(2, "猪八戒");
            kk.Add(3, "沙和尚");
            kk.Add(4, "白龙马");
            kk.Add(5, "唐僧");

            Console.WriteLine("挑一个");
            Console.ReadLine();

            kk.Remove("唐僧");
            Console.WriteLine(kk[5]);
            kk.Clear();
            Console.WriteLine("就剩{0}份", kk.Count);
        }
    }
}
